<?php if ($IsFirst) {echo $LeftPadding."<ul class=\"Container\">\n";} ?>
<?php
	if ($IsRoot) {$IsRootClassName=' IsRoot';} else {$IsRootClassName='';}
	if ($IsLeaf) {$IsLeafClassName=' ExpandLeaf';} else {$IsLeafClassName=' ExpandOpen';}
	if ($IsLast) {$IsLastClassName=' IsLast';} else {$IsLastClassName='';}
?>
<?=$LeftPadding?>	<li class="Node<?=$IsRootClassName.$IsLeafClassName.$IsLastClassName;?>"> <div class="Expand"></div>
<?=$LeftPadding?>	<div class="Content"><a href="/index.php/Table/Edit/<?=$TableName;?>/<?=$PKFieldValue;?>"><?=$NodeText;?></a></div> <?=$IsLeaf ? '</li>' : '';?> 